public class Test {
    public static void main(String[] args) {

        Phone phone=new Phone();
        phone.price=3000;
        phone.brand="华为";
        phone.playGame();
        phone.call();

        Computer computer=new Computer();
        computer.price=6000;
        computer.brand="雷神";
        computer.playGame();
        computer.coding();
    }
}